FernleafSystems\Wordpress\Plugin\Shield\Modules\Headers\Processor S

Total Complexity 35
Dependencies 0
Dependents 0
Total lines 150
Lines of code 105
Logical lines of code 59
Comment lines 18
Methods 13
Properties 2

Methods 13

Method Rating Maintainability Complexity Lines of code
addToHeaders()
S
55 6 20
getXFrameHeader()
S
60 4 14
getAlreadySentHeaders()
S
61 4 12
sendHeaders()
S
61 4 11
getHeaders()
S
70 3 6
run()
S
65 2 9
getXssProtectionHeader()
S
74 2 4
getContentTypeOptionHeader()
S
74 2 4
getReferrerPolicyHeader()
S
74 2 4
setContentSecurityPolicyHeader()
S
71 2 5
addHeader()
S
72 2 5
getPushHeadersEarly()
S
80 1 3
gatherSecurityHeaders()
S
67 1 8